﻿#region Styx Namespaces
using Styx;
using Styx.CommonBot.Routines;
#endregion

namespace GiwinMonk
{
    public partial class Monk : CombatRoutine
    {

        /// <summary>
        /// Cost: 2 Chi |
        /// Range: 5 Yards |
        /// Cast Time: Instant |
        /// GCD: 1 Second |
        /// 
        /// http://www.wowhead.com/spell=122470
        /// </summary>


        public bool GlyphofTouchofKarma()
        {
            return //(MIRsettings.Instance.GlyphofTouchofKarma) &&
                (StyxWoW.Me.CurrentTarget != null) &&
                   (StyxWoW.Me.CurrentChi >= 2) &&
                   (StyxWoW.Me.CurrentTarget.IsPlayer) &&
                   (StyxWoW.Me.CurrentTarget.Distance <= 20) &&
                   (StyxWoW.Me.CurrentTarget.CurrentTarget.IsMe) &&
                   CanCast("Touch of Karma");
        }
    }
}
